package org.apaydin.eksisozluk;

import java.util.ArrayList;
import java.util.List;

public class EksiItems{

    private List<EksiItem> items = new ArrayList<EksiItem>();

    private int itemCount = 0;

    private int pageCount = 0;

    private int currentPage = 0;

    private final EksiTopic topic;

    public EksiItems(EksiTopic topic) {
        this.topic = topic;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getItemCount() {
        return itemCount;
    }

    public void setItemCount(int itemCount) {
        this.itemCount = itemCount;
    }

    public List<EksiItem> getItems() {
        return items;
    }

    public void addItem(EksiItem item) {
        this.items.add(item);
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public EksiTopic getTopic() {
        return topic;
    }

    public void addEksiItem(EksiItem item) {
        items.add(item);
    }
}
